package com.atguigu.gulimall.product.entity.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;
@Data
public class SkuItemVo {
    // 1. skuInfo `pms_sku_info`
    private SkuInfoEntity info;

    // 是否有货
    private Boolean hasStock = true;

    // 2. skuImg  `pms_sku_imges`
    private List<SkuImagesEntity> images;

    // 3. spu 销售属性组合
    private List<SkuItemSaleAttrsVo> saleAttr;

    // 4. spu 的介绍 `pms_spu_desc`
    private SpuInfoDescEntity desc;

    // 5. spu 规格参数
    private List<SpuItemAttrGroupVo> groupAttrs;
}
